Add videos to any section using the video or embed type.
Videos can be used in any section type. You can only use one video per section. To add multiple videos, use Groups.
For Google Drive, always use the embed link. For YouTube and Vimeo, you can use either the embed link or the normal shared URL.
Wrong link format — plain URL without type won't work:
"https://www.youtube.com/watch?v=8RdcvgMlp_k"
Right — use embed or video key:
"embed": "https://www.youtube.com/embed/8RdcvgMlp_k?si=TnidIGYBnKKa70vk"
"video": "https://youtu.be/wDchsz8nmbo?si=AD7YwzaALl3VzH8h"
"video": {
"src": "https://www.youtube.com/embed/8RdcvgMlp_k?si=TnidIGYBnKKa70vk",
"ratio": "1/1",
"caption": "My video caption"
}
"embed": {
"src": "embedlink",
"ratio": "1/1",
"caption": "My video caption"
}
| Field | Description |
|---|---|
type | "video" or "embed" |
src | Video URL or embed URL |
ratio | Aspect ratio like "16/9" (default 16/9) |
| available ratios | "16/9" (default, widescreen), "4/3", "1/1", "21/9", "3/2", "2/3", "9/16" |
caption | Optional text below the video |
Supports embed links from Vimeo, Google Drive and YouTube.
"embed": "https://drive.google.com/file/d/1cRnF1DJWg-r_VxHP1pDwz3_cNcjS20sd/preview"
Supports direct links from Vimeo and YouTube.
"video": "https://youtu.be/8RdcvgMlp_k?si=Ux0IHYvOnt2lfQuU"
"embed": {
"src": "https://drive.google.com/file/d/1cRnF1DJWg-r_VxHP1pDwz3_cNcjS20sd/preview",
"ratio": "1/1"
}
"embed": {
"src": "https://www.youtube.com/embed/8RdcvgMlp_k",
"ratio": "1/1"
}
My video caption
"embed": {
"src": "https://www.youtube.com/embed/8RdcvgMlp_k",
"ratio": "16/9",
"caption": "My video caption"
}
My video caption
"video": {
"src": "https://youtu.be/8RdcvgMlp_k?si=Ux0IHYvOnt2lfQuU",
"ratio": "16/9",
"caption": "My video caption"
}